extern alias AvaloniaSkia;

using Avalonia.Media;
using @this = AvaloniaSkia::Avalonia.Skia.SKTypefaceCollectionCache;

namespace Avalonia.Skia
{
    public class SKTypefaceCollectionCache
    {
        /// <summary>
        /// Gets the or add typeface collection.
        /// </summary>
        /// <param name="fontFamily">The font family.</param>
        /// <returns></returns>
        public static SKTypefaceCollection GetOrAddTypefaceCollection(FontFamily fontFamily)
        {
            return new(@this.GetOrAddTypefaceCollection(fontFamily));
        }
    }
}
